﻿using Abp.Application.Services;
using Avis.OutBoundAPI.Contents.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Avis.OutBoundAPI.Contents
{
    /// <summary>
    /// 内容CMS的应用服务
    /// </summary>
    public interface IContentAppService : IApplicationService
    {
        /// <summary>
        /// 获取首页的banner
        /// </summary>
        /// <returns></returns>
        //[HttpGet]
        string GetLoginRequiredFunction();
        /// <summary>
        /// 获取首页的banner
        /// </summary>
        /// <returns></returns>
        //[HttpGet]
        IList<BannerOutput> GetIndexBanner();

        /// <summary>
        /// 获取最新的特惠活动
        /// </summary>
        /// <returns></returns>
        //[HttpGet]
        IList<PromotionListOutput> GetLasterPromotions();

        /// <summary>
        /// 获取指定ID的特惠详情
        /// </summary>
        /// <param name="input">请求参数</param>
        /// <returns></returns>
        //[HttpGet]
        PromotionOutput Promotion(PromotionInput input);
    }
}
